package com.zmm.study.car.service;

import com.zmm.study.car.common.ServerResponse;
import com.zmm.study.car.pojo.Employee;
import com.zmm.study.car.vo.EmployeeQuery;

/**
 * description
 * name EmployeeService
 *
 * @author Zebulon
 * @date by 2022-05-06 16:45:20
 */
public interface EmployeeService {

    ServerResponse addEmployee(Employee employee);

    ServerResponse updateEmployee(Employee employee);

    ServerResponse getList(EmployeeQuery employeeQuery);

    ServerResponse validPassword(Integer id, String validPass);

    ServerResponse updatePassword(Integer id, String oldPass, String newPass);
}
